package com.sqllog.admin.sql.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * TODO
 *
 * @author chennengcheng
 * @date 2022-01-23 15:07
 * @remark
 */

@Getter
@Setter
public class LogDatabaseManager implements Serializable {

    private String id;

    /**
     * 所属实例名
     */
    private String destination;

    private String databaseName;

    private String tableName;

    private String yearOfMonth;

    private String queryName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    private String delFlag;
}
